package com.explorati.design_pattern.behavior.templatemethod.example;

public class ClientDemo {

	public static void main(String[] args) {
		Account account = new DemandAccount();
		System.out.println("活期利息 : " + account.calculateInterest());
		
		account = new FixedAccount();
		System.out.println("死期利息 : " + account.calculateInterest());
	}
}
